import { Component } from '@angular/core';

@Component({
    selector: 'student-list',
    template: `
       <student [name]="studentNames[0]"></student>
    `
})

export class StudentList {
    studentNames = ['陶大', '陶二', '陶三', '陶四'];

    constructor() {

    }
}